<script type="text/javascript">
    $(document).ready(function() {
        //$('#').jqTransform({imgPath:'<?= site_url() ?>/assets/css/jqTransform/'});
        $('.easyui-tabs').tabs();
        $('.easyui-combobox').combobox();
        $('#list_afiliado').combobox();
        $('#list_tipoconta').combobox();
        $('#list_banco').combobox();

        $('button.unique').click(function() {
            $('button.unique:checked').not(this).removeAttr('checked');
            $('[name="STATUS"]').attr("value", $(this).val());
        });

        $("#arquivo").change(function(){
            var nameFile = $(this).val().split("\\");
           $("#link").val(nameFile['2']);
        })


    });
</script>

<div style="padding:10px;">
    <form id="form_addMaterial" name="form_edit" method="post" action="" enctype="multipart/form-data">



        <div class="line" style=" overflow-x:hidden; display:block;">
            <div style="float: left;width: 50%">
                <div class="configCol_left" >
                    Nome:
                </div>
                <div class="configCol_right" >
                    <label>
                        <input name="NOME" id="nome" type="text" class="textfield-text" required="required" value="" placeholder="Evitar caracteres especiais"  />
                    </label>
                </div>
            </div>
            <div style="float: left;width: 50%">
                <div class="configCol_left" >
                    Link:
                </div>
                <div class="configCol_right" >
                    <label>
                        <input name="LINK" type="text" id="link" class="textfield-text" required="required" value=""  />
                    </label>
                </div>
            </div>
          
            <div style="float: left;width: 100%;padding-top: 10px;">
                <div class="configCol_left" >
                    Descrição:
                </div>
                <div class="configCol_right" >
                    <label>
                        <textarea name="DESCRICAO" id="descricao" class="textarea"  style="width: 464px;"></textarea>
                        
                    </label>
                </div>
            </div>
            <div style="float: left;width: 100%;padding-top: 10px;">
                <div class="configCol_left" >
                    Upload de Arquivo:
                </div>
                <div class="configCol_right" >
                    <label>
                        <input type="file" name="arquivo" id="arquivo">
                        
                    </label>
                </div>
            </div>
            
        </div>



</div>